package com.project.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.project.common.model.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("tbl_reservation")
public class Reservation extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 预约时段id(引用tbl_time_interval表)
     */
    private Integer timeIntervalId;

    /**
     * 预约人id(引用tbl_user表)
     */
    private Integer reservationUserId;

    /**
     * 占座人id(引用tbl_user表)
     */
    private Integer occupancyUserId;

    /**
     * 座位号
     */
    private String seatNumber;

    /**
     * 预约类型(0-本人预约，1-他人预约，2-系统预约)
     */
    private Integer typeId;

    /**
     * 预约信息状态(0-未过期，1-已过期)
     */
    private Integer statusFlag;

}
